package cn.iot.sys.dao;

import cn.iot.sys.entity.SysHostel;

import java.util.List;
import java.util.Map;

public interface SysHostelDao {
    public int getSysHostelByDormitoryId(int dormitoryId);
    public List<SysHostel> getSysHostelList(Map<String,Object> map);
    public int getSysHostelCount(String locationName);
    public int addSysHostel(SysHostel sysHostel);
    public SysHostel getSysHostelByMaxId();
    public int updSysHostelById(SysHostel sysHostel);
    public int delSysHostelById(int id);
    public int addBed(Map<String,Object> map);
    public int getIsOccupyByHostelId(int hostel);
    public List<SysHostel> getSysHostelAll();
}
